package com.yangdada.mapper;



import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yangdada.dto.PublicDataDTO;
import com.yangdada.dto.PublicRequestDTO;
import com.yangdada.dto.TwoDataMergeResponseDTO;
import com.yangdada.dto.TwoDataResponseDTO;
import com.yangdada.entity.Blog;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ykl
 * @since 2022-08-06
 */
@Mapper
public interface BlogMapper extends BaseMapper<Blog> {

    List<PublicDataDTO> getTwoDatauserNum(PublicRequestDTO publicRequestDTO);

    List<PublicDataDTO> getTwoDataShopNum(PublicRequestDTO publicRequestDTO);

    Integer getTwoDataTestUserNumData(PublicRequestDTO publicRequestDTO);

    Integer getTwoDataTestShopNumData(PublicRequestDTO publicRequestDTO);

    TwoDataResponseDTO getUserNumData(PublicRequestDTO publicRequestDTO);

    TwoDataResponseDTO getShopNumData(PublicRequestDTO publicRequestDTO);

    List<TwoDataMergeResponseDTO> getTwoMergeList(PublicRequestDTO publicRequestDTO);

    List<TwoDataMergeResponseDTO> getTwoMergeListShop(PublicRequestDTO publicRequestDTO);

    List<TwoDataMergeResponseDTO> getTwoMergeListHour(PublicRequestDTO publicRequestDTO);

    List<TwoDataMergeResponseDTO> getTwoMergeListShopHour(PublicRequestDTO publicRequestDTO);
}
